Part Number Hot Search : 
55N1T 0FB00 29LV800 55N1T C114E MHR30V CDP1857 2SD16
Product Description
Full Text Search
 

To Download LIS302DL Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  preliminary data this is preliminary information on a new product now in deve lopment or undergoing evaluation. details are subject to change without notice. october 2006 rev 1 1/29 29 LIS302DL mems motion sensor 3-axis - 2g/8g smart digital output ?piccolo? accelerometer feature 2.16v to 3.6v supply voltage 1.8v compatible ios <1mw power consumption 2g/ 8g dynamically selectable full-scale i 2 c/spi digital output interface programmable multiple interrupt generator embedded high pass filter embedded self test 10000g high shock survivability ecopack? rohs and ?green? compliant (see section 8 ) description the LIS302DL is an ultra compact low-power three axes linear accelerometer. it includes a sensing element and an ic interface able to provide the measured acceleration to the external world through i 2 c/spi serial interface. the sensing element, capable of detecting the acceleration, is manufactured using a dedicated process developed by st to produce inertial sensors and actuators in silicon. the ic interface is manufactured using a cmos process that allows to design a dedicated circuit which is trimmed to better match the sensing element characteristics. the LIS302DL has dynamically user selectable full scales of 2g/ 8g and it is capable of measuring accelerations with an output data rate of 100hz or 400hz. a self-test capability allows the user to check the functioning of the sensor in the final application. the device may be configured to generate inertial wake-up/free-fall interrupt signals when a programmable acceleration threshold is crossed at least in one of the three axes. thresholds and timing of interrupt generators are completely programmable by the end user on the fly. the LIS302DL is available in plastic thin land grid array package (tlga) and it is guaranteed to operate over an extended temperature range from -40c to +85c. the LIS302DL belongs to a family of products suitable for a variety of applications: ? free-fall detection ? motion activated functions ? gaming and virtual reality input devices ? vibration monitoring and compensation order codes lga-14 (3x5x0.9mm) part number temp range, cpackage packing LIS302DL -40 to +85 lga tray LIS302DLtr -40 to +85 lga tape and reel www.st.com
contents LIS302DL 2/29 contents 1 block diagram & pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.1 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.2 pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2 mechanical and electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . 6 2.1 mechanical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.2 electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.3 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.4 terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.4.1 sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.4.2 zero-g level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.4.3 self test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3 functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.1 sensing element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.2 ic interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.3 factory calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 4 application hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4.1 soldering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 5 digital interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 5.1 i 2 c serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 5.1.1 i 2 c operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 5.2 spi bus interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 5.2.1 spi read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 5.2.2 spi write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 5.2.3 spi read in 3-wires mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 6 register mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 7 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 7.1 who_am_i (0fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
LIS302DL contents 3/29 7.2 ctrl_reg1 (20h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 7.3 ctrl_reg2 (21h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 7.4 ctrl_reg3 [interrupt ctrl register] (22h) . . . . . . . . . . . . . . . . . . . . . . 21 7.5 hp_filter_reset (23h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 7.6 status_reg (27h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 7.7 out_x (29h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 7.8 out_y (2bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 7.9 out_z (2dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 7.10 ff_wu_cfg_1 (30h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 7.11 ff_wu_src_1 (31h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 7.12 ff_wu_ths_1 (32h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 7.13 ff_wu_duration_1 (33h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 7.14 ff_wu_cfg_2 (34h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 7.15 ff_wu_src_2 (35h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 7.16 ff_wu_ths_2 (36h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 7.17 ff_wu_duration_2 (37h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 8 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 9 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
block diagram & pin description LIS302DL 4/29 1 block diagram & pin description 1.1 block diagram figure 1. block diagram 1.2 pin description figure 2. pin connection charge amplifier mux y+ z+ y- z- a x+ x- i 2 c spi cs scl/spc sda/sdo/sdi sdo control logic & interrupt gen. int 1 clock trimming circuits reference self test control logic a/d converter int 2 1 13 8 6 1 bottom view 13 8 6 top view x z y
LIS302DL block diagram & pin description 5/29 table 1. pin description pin# name function 1 vdd_io power supply for i/o pins 2 gnd 0v supply 3 reserved connect to vdd 4 gnd 0v supply 5 gnd 0v supply 6 vdd power supply 7cs spi enable i 2 c/spi mode selection (1: i 2 c mode; 0: spi enabled) 8 int 1 inertial interrupt 1 9 int 2 inertial interrupt 2 10 gnd 0v supply 11 reserved connect to gnd 12 sdo spi serial data output i 2 c less significant bit of the device address 13 sda sdi sdo i 2 c serial data (sda) spi serial data input (sdi) 3-wire interface serial data output (sdo) 14 scl spc i 2 c serial clock (scl) spi serial port clock (spc)
mechanical and electrical specifications LIS302DL 6/29 2 mechanical and electrical specifications 2.1 mechanical characteristics table 2. mechanical characteristics (1) (all the parameters are specified @ vdd=2.5v, t = 25c unless otherwise noted) symbol parameter test conditions min. typ. (2) max. unit fs measurement range (3) fs bit set to 0 2.0 2.3 g fs bit set to 1 8.0 9.2 so sensitivity fs bit set to 0 16.2 18 19.8 mg/digit fs bit set to 1 64.8 72 79.2 tcso sensitivity change vs temperature fs bit set to 0 0.01 %/c ty o f f typical zero-g level offset accuracy (4),(5) fs bit set to 0 40 mg fs bit set to 1 60 mg tcoff zero-g level change vs temperature max delta from 25c 0.5 mg/c vst self test output change (6),(7),(8) fs bit set to 0 stp bit used x axis vdd=2.16v to 3.6v -16 -3 lsb fs bit set to 0 stp bit used y axis vdd=2.16v to 3.6v 316lsb fs bit set to 0 stp bit used z axis vdd=2.16v to 3.6v 316lsb bw system bandwidth (9) odr/2 hz to p operating temperature range -40 +85 c wh product weight 30 mgram 1. the product is factory calibrated at 2.5v. the device can be used from 2.16v to 3.6v 2. typical specification are not guaranteed 3. verified by wafer level test and measur ement of initial offset and sensitivity 4. typical zero-g level offset value after msl3 preconditioning 5. offset can be eliminated by enabl ing the built-in high pass filter 6. if stm bit is used values change in sign for all axes 7. self test output changes with the power supply. self test ?output change? is defined as output[lsb] (self-test bit on ctrl_reg1=1) -output[lsb] (self-test bit on ctrl_reg1=0) . 1lsb=4.6g/256 at 8bit representation, 2.3g full-scale 8. output data reach 99% of final value after 3/od r when enabling self-test mode due to device filtering 9. odr is output data rate. refer to table 3 for specifications
LIS302DL mechanical and electrical specifications 7/29 2.2 electrical characteristics table 3. electrical characteristics (1) (all the parameters are specified @ vdd=2.5v, t= 25c unless otherwise noted) symbol parameter test conditions min. typ. (2) max. unit vdd supply voltage 2.16 2.5 3.6 v vdd_io i/o pins supply voltage (3) 1.71 vdd+0.1 v idd supply current t = 25c, odr=100hz 0.3 0.4 ma iddpdn current consumption in power-down mode t = 25c 1 5 a vih digital high level input voltage 0.8*vdd _io v vil digital low level input voltage 0.2*vdd _io v voh high level output voltage 0.9*vdd _io v vol low level output voltage 0.1*vdd _io v odr output data rate dr=0 100 hz dr=1 400 bw system bandwidth (4) odr/2 hz ton turn-on time (5) 3/odr s to p operating temperature range -40 +85 c 1. the product is factory calibrated at 2.5v. the device can be used from 2.16v to 3.6v 2. typical specification are not guaranteed 3. it is possible to remove vdd maintaining vdd_io withou t blocking the communication busse s, in this condition the measurement chain is powered off. 4. filter cut-off frequency 5. time to obtain valid data after exiting power-down mode
mechanical and electrical specifications LIS302DL 8/29 2.3 absolute maximum ratings stresses above those listed as ?absolute ma ximum ratings? may cause permanent damage to the device. this is a stress rating only and functional operation of the device under these conditions is not implied. exposure to maximum rating conditions for extended periods may affect device reliability. note: supply voltage on any pin should never exceed 6.0v table 4. absolute maximum ratings symbol ratings maximum value unit vdd supply voltage -0.3 to 6 v vdd_io i/o pins supply voltage -0.3 to 6 v vin input voltage on any control pin (cs, scl/spc, sda/sdi/sdo) -0.3 to vdd_io +0.3 v a pow acceleration (any axis, powered, vdd=2.5v) 3000g for 0.5 ms 10000g for 0.1 ms a unp acceleration (any axis, unpowered) 3000g for 0.5 ms 10000g for 0.1 ms t op operating temperature range -40 to +85 c t stg storage temperature range -40 to +125 c esd electrostatic discharge protection 0 - 2 (hbm) kv this is a mechanical shock sensitive device, improper handling can cause permanent damages to the part this is an esd sensitive device, improper handling can cause permanent damages to the part
LIS302DL mechanical and electrical specifications 9/29 2.4 terminology 2.4.1 sensitivity sensitivity describes the gain of the sensor and can be determined e.g. by applying 1g acceleration to it. as the sensor can measur e dc accelerations this can be done easily by pointing the axis of interest towards the center of the earth, noting the output value, rotating the sensor by 180 degrees (point to the sky) and noting the output value again. by doing so, 1g acceleration is applied to the sensor. subtracting the larger output value from the smaller one and dividing the result by 2 leads to the actual sensitivity of the sensor. this value changes very little over temperature and also very little over time. the sensitivity tolerance describes the range of sensitivities of a large population of sensor. 2.4.2 zero-g level zero-g level offset (off) describes the deviation of an actual output signal from the ideal output signal if there is no acceleration present. a sensor in a steady state on a horizontal surface will measure 0g in x axis and 0g in y axis whereas the z ax is will measure 1g. the output is ideally in the middle of the dynamic range of the sensor (content of out registers 00h, data expressed as 2?s complement number). a deviation from ideal value in this case is called zero-g offset. offset is to some extent a result of stress to a precise mems sensor and therefore the offset can slightly change after mounting the sensor onto a printed circuit board or exposing it to extensive mechanical stress. offset changes little over temperature, see ?zero-g level change vs. temperature?. the zero-g level of an individual sensor is stable over lifetime. the zero-g level tolerance describes the range of zero-g levels of a population of sensors. 2.4.3 self test self test allows to check the sensor functionality without moving it. the self test function is off when the self-test bit of ctrl_reg1 (control register 1) is programmed to ?0?. when the self- test bit of ctrl_reg1 is programmed to ?1? an actuation force is applied to the sensor, simulating a definite input acceleration. in this case the sensor outputs will exhibit a change in their dc levels which is related to the sele cted full scale through the device sensitivity. when self test is activated, the device output level is given by the algebraic sum of the signals produced by the acceleration acting on the sensor and by the electrostatic test-force. if the output signals change within the amplitude specified inside table 2, than the sensor is working properly and the parameters of the interface chip are within the defined specification.
functionality LIS302DL 10/29 3 functionality the LIS302DL is a ultracompatct, low-power, digital output 3-axis linear accelerometer packaged in a lga package. the complete device includes a sensing element and an ic interface able to take the information from the sensing element and to provide a signal to the external world through an i 2 c/spi serial interface. 3.1 sensing element a proprietary process is used to create a surface micro-machined accelerometer. the technology allows to carry out suspended s ilicon structures which are attached to the substrate in a few points called anchors and are free to move in the direction of the sensed acceleration. to be compatible with the traditional packaging techniques a cap is placed on top of the sensing element to avoid blocking the moving parts during the moulding phase of the plastic encapsulation. when an acceleration is applied to the sensor the proof mass displaces from its nominal position, causing an imbalance in the capacit ive half-bridge. this imbalance is measured using charge integration in response to a voltage pulse applied to the sense capacitor. at steady state the nominal value of the capacitors are few pf and when an acceleration is applied the maximum variation of the capacitive load is in ff range. 3.2 ic interface the complete measurement chain is composed by a low-noise capacitive amplifier which converts into an analog voltage the capacitive unbalancing of the mems sensor and by analog-to-digital converters. the acceleration data may be accessed through an i 2 c/spi interface thus making the device particularly suitable for direct interfacing with a microcontroller. the LIS302DL features a data-ready signal (rdy) which indicates when a new set of measured acceleration data is available thus simplifying data synchronization in digital system employing the device itself. the LIS302DL may also be configured to generate an inertial wake-up and free-fall interrupt signal accordingly to a programmed acceleration event along the enabled axes. both free-fall and wake-up can be available simultaneously on two different pins. 3.3 factory calibration the ic interface is factory calibrated for sensitivity (so) and zero-g level (off). the trimming values are stored inside the device by a non volatile structure. any time the device is turned on, the trimming parameters are downloaded into the registers to be employed during the normal operation. this allows the user to employ the device without further calibration.
LIS302DL application hints 11/29 4 application hints figure 3. LIS302DL electrical connection the device core is supplied through vdd line while the i/o pads are supplied through vdd_io line. power supply decoupling capacitors (100 nf ceramic, 10 f al) should be placed as near as possible to the pin 6 of the device (common design practice). all the voltage and ground supplies must be present at the same time to have proper behavior of the ic (refer to fig. 3). it is possible to remove vdd maintaining vdd_io without blocking the communication busses, in this condition the measurement chain is powered off. the functionality of the device and the measured acceleration data is selectable and accessible through the i 2 c/spi interface.when using the i 2 c, cs must be tied high while sdo must be left floating. the functions, the threshold an the timing of the two interrupt pins (int 1 and int 2) can be completely programmed by the user though the i 2 c/spi interface. 4.1 soldering information the lga package is compliant with the ecopack, rohs and ?green? standard. it is qualified for soldering heat resistance according to jedec j-std-020c. pin #1 indicator is electrically connected to pin 1. leave pin 1 indicator unconnected during soldering. land pattern and soldering recommendation are available at www.st.com/mems . 6 8 13 1 top view cs 10uf vdd 100nf gnd vdd_io sdo sda/sdi/sdo int_1 int_2 scl/spc digital signal from/to signal controller.signal?s levels are defined by proper selection of vdd_io 1 13 8 6 top view x z y direction of the detectable accelerations
digital interfaces LIS302DL 12/29 5 digital interfaces the registers embedded inside the LIS302DL may be accessed through both the i 2 c and spi serial interfaces. the latter may be sw configured to operate either in 3-wire or 4-wire interface mode. the serial interfaces are mapped onto the same pads. to select/exploit the i 2 c interface, cs line must be tied high (i.e connected to vdd_io). 5.1 i 2 c serial interface the LIS302DL i 2 c is a bus slave. the i 2 c is employed to write the data into the registers whose content can also be read back. the relevant i 2 c terminology is given in the table below. there are two signals associated with the i 2 c bus: the serial clock line (scl) and the serial data line (sda). the latter is a bidirectional line used for sending and receiving the data to/from the interface. both the lines are connected to vdd_io through a pull-up resistor embedded inside the LIS302DL. when the bus is free both the lines are high. the i 2 c interface is compliant wit h fast mode (400 khz) i 2 c standards as well as the normal mode. table 5. serial interface pin description pin name pin description cs spi enable i 2 c/spi mode selection (1: i 2 c mode; 0: spi enabled) scl/spc i 2 c serial clock (scl) spi serial port clock (spc) sda/sdi/sdo i 2 c serial data (sda) spi serial data input (sdi) 3-wire interface serial data output (sdo) sdo spi serial da ta output (sdo) table 6. serial interface pin description term description transmitter the device which sends data to the bus receiver the device which receives data from the bus master the device which initiates a transfer, generates clock signals and terminates a transfer slave the device addressed by the master
LIS302DL digital interfaces 13/29 5.1.1 i 2 c operation the transaction on the bus is started through a start (st) signal. a start condition is defined as a high to low transition on the data line while the scl line is held high. after this has been transmitted by the master, the bus is considered busy. the next byte of data transmitted after the start condition contains the address of the slave in the first 7 bits and the eighth bit tells whether the master is receiving data from the slave or transmitting data to the slave. when an address is sent, each device in the system compares the first seven bits after a start condition with its address. if they match, the device considers itself addressed by the master. the slave address (sad) associated to the LIS302DL is 001110xb. sdo pad can be used to modify less significant bit of the device address. if sdo pad is connected to voltage supply lsb is ?1? (address 0011101b) else if sdo pad is connected to ground lsb value is ?0? (address 0011100b). this solution permits to connect and address two different accelerometer to the same i 2 c lines. data transfer with acknowledge is mandatory. the transmitter must release the sda line during the acknowledge pulse. the receiver must then pull the data line low so that it remains stable low during the high period of the acknowledge clock pulse. a receiver which has been addressed is obliged to generate an acknowledge after each byte of data has been received. the i 2 c embedded inside the LIS302DL behaves like a slave device and the following protocol must be adhered to. after the start condition (st) a salve address is sent, once a slave acknowledge (sak) has bee n returned, a 8-bit sub-addre ss will be transmitted: the 7 lsb represent the actual register address while the msb enables address auto increment. if the msb of the sub field is 1, the sub (regis ter address) will be auto matically incremented to allow multiple data read/write. the slave address is completed with a read/write bit. if the bit was ?1? (read), a repeated start (sr) condition will have to be issued after the two sub-addr ess bytes; if the bit is ?0? (write) the master will transmit to the slave with di rection unchanged. transfer when master is writing one byte to slave transfer when master is writing multiple bytes to slave: transfer when master is receiving (reading) one byte of data from slave: master st sad + w sub data sp slave sak sak sak master st sad + w sub data data sp slave sak sak sak sak master st sad + w sub sr sad + r nmak sp slave sak sak sak data
digital interfaces LIS302DL 14/29 transfer when master is receiving (reading) multiple bytes of data from slave data are transmitted in byte format (data). each data transfer contains 8 bits. the number of bytes transferred per transfer is unlimited. data is transferred with the most significant bit (msb) first. if a receiver can?t receive another complete byte of data until it has performed some other function, it can hold the clock line, scl low to force the transmitter into a wait state. data transfer only continues when the receiver is ready for another byte and releases the data line. if a slave receiver doesn?t acknowledge the slave address (i.e. it is not able to receive because it is performing some real time function) the data line must be left high by the slave. the master can then abort the transfer. a low to high transition on the sda line while the scl line is high is defined as a stop condition. each data transfer must be terminated by the generation of a stop (sp) condition. in order to read multiple bytes, it is necessary to assert the most significant bit of the sub- address field. in other words, sub(7) must be equal to 1 while sub(6-0) represents the address of first register to read. in the presented communication format mak is master acknowledge and nmak is no master acknowledge. 5.2 spi bus interface the LIS302DL spi is a bus slave. the spi allows to write and read the registers of the device. the serial interface interacts with the outside world with 4 wires: cs , spc , sdi and sdo . figure 4. read & write protocol cs is the serial port enable and it is controlled by the spi master. it goes low at the start of the transmission and goes back high at the end. spc is the serial port clock and it is controlled by the spi master. it is stopped high when cs is high (no transmission). sdi and sdo are respectively the serial port data input and output. those lines are driven at the falling edge of spc and should be captured at the rising edge of spc . master st sad + w sub sr sad + r mak slave sak sak sak data master mak nmak sp s l a ve data data cs spc sdi sdo rw ad5 ad4 ad3 ad2 ad1 ad0 di7 di6 di5 di4 di3 di2 di1 di0 do7 do6 do5 do4 do3 do2 do1 do0 ms
LIS302DL digital interfaces 15/29 both the read register and write register commands are completed in 16 clock pulses or in multiple of 8 in case of mu ltiple byte read/write. bit durati on is the time between two falling edges of spc . the first bit (bit 0) starts at the first falling edge of spc after the falling edge of cs while the last bit (bit 15, bit 23, ...) starts at the last falling edge of spc just before the rising edge of cs . bit 0 : rw bit. when 0, the data di(7:0) is written into the device. when 1, the data do(7:0) from the device is read. in latter case, the chip will drive sdo at the start of bit 8. bit 1 : ms bit. when 0, the address will remain unch anged in multiple r ead/write commands. when 1, the address will be auto increment ed in multiple r ead/write commands. bit 2-7 : address ad(5:0). this is the address field of the indexed register. bit 8-15 : data di(7:0) (wri te mode). this is the data that will be written into the device (msb first). bit 8-15 : data do(7:0) (read mode). this is the da ta that will be read from the device (msb first). in multiple read/write comman ds further blocks of 8 clock periods will be added. when ms bit is 0 the address used to read/write data remains the same for every block. when ms bit is 1 the address used to read/write data is incremented at every block. the function and the behavior of sdi and sdo remain unchanged. 5.2.1 spi read figure 5. spi read protocol the spi read command is performed with 16 clock pulses. multiple byte read command is performed adding blocks of 8 clock pulses at the previous one. bit 0 : read bit. the value is 1. bit 1 : ms bit. when 0 do not increment address, when 1 increment address in multiple reading. bit 2-7 : address ad(5:0). this is the address field of the indexed register. bit 8-15 : data do(7:0) (read mode). this is the da ta that will be read from the device (msb first). bit 16-... : data do(...-8). further da ta in multiple byte reading. cs spc sdi sdo rw do7 do6 do5 do4 do3 do2 do1 do0 ad5 ad4 ad3 ad2 ad1 ad0 ms
digital interfaces LIS302DL 16/29 figure 6. multiple bytes spi read protocol (2 bytes example) 5.2.2 spi write figure 7. spi write protocol the spi write command is performed with 16 cloc k pulses. multiple by te write command is performed adding blocks of 8 clock pulses at the previous one. bit 0 : write bit. the value is 0. bit 1 : ms bit. when 0 do not increment address, when 1 increment address in multiple writing. bit 2 -7 : address ad(5:0). this is the address field of the indexed register. bit 8-15 : data di(7:0) (wri te mode). this is th e data that will be writ ten inside the device (msb first). bit 16-... : data di(...-8). further data in multiple byte writing. figure 8. multiple bytes spi write protocol (2 bytes example) cs spc sdi sdo rw do7 do6 do5 do4 do3 do2 do1 do0 ad5 ad4 ad3 ad2 ad1 ad0 do15 do14 do13 do12 do11 do10 do9 do8 ms cs spc sdi rw di7 di6 di5 di4 di3 di2 di1 di0 ad5 ad4 ad3 ad2 ad1 ad0 ms cs spc sdi rw ad5 ad4 ad3 ad2 ad1 ad0 di7 di6 di5 di4 di3 di2 di1 di0 di15 di14 di13 di12 di11 di10 di9 di8 ms
LIS302DL digital interfaces 17/29 5.2.3 spi read in 3-wires mode 3-wires mode is entered by setting to 1 bit sim (spi serial interface mode selection) in ctrl_reg2. figure 9. spi read protocol in 3-wires mode the spi read command is performed with 16 clock pulses: bit 0 : read bit. the value is 1. bit 1 : ms bit. when 0 do not increment address, when 1 increment address in multiple reading. bit 2-7 : address ad(5:0). this is the address field of the indexed register. bit 8-15 : data do(7:0) (read mode). this is the da ta that will be read from the device (msb first). multiple read comman d is also available in 3-wires mode. cs spc sdi/o rw do7 do6 do5 do4 do3 do2 do1 do0 ad5 ad4 ad3 ad2 ad1 ad0 ms
register mapping LIS302DL 18/29 6 register mapping the table given below provides a listing of the 8 bit registers embedded in the device and the related address: registers marked as reserved must not be changed. the writing to those registers may cause permanent damages to the device. the content of the registers that are loaded at boot should not be changed. they contain the factory calibration values. their content is automatically restored when the device is powered-up. table 7. register address map name type register address default comment 0hex 0binary reserved (do not modify) 00-0e reserved who_am_i r 0f 000 1111 00111011 dummy register reserved (do not modify) 10-1f reserved ctrl_reg1 rw 20 010 0000 00000111 ctrl_reg2 rw 21 010 0001 00000000 ctrl_reg3 rw 22 010 0010 00000000 hp_filter_reset r 23 010 0011 dummy dummy register reserved (do not modify) 24-26 reserved status_reg r 27 010 0111 00000000 -- r 28 010 1000 not used outx r 29 010 1001 output -- r 2a 010 1010 not used outy r 2b 010 1011 output -- r 2c 010 1100 not used outz r 2d 010 1101 output reserved (do not modify) 2e-2f reserved ff_wu_cfg_1 rw 30 011 0000 00000000 ff_wu_src_1(ack1) r 31 011 0001 00000000 ff_wu_ths_1 rw 32 011 0010 00000000 ff_wu_duration_1 rw 33 011 0011 00000000 ff_wu_cfg_2 rw 34 011 0100 00000000 ff_wu_src_2 (ack2) r 35 011 0101 00000000 ff_wu_ths_2 rw 36 011 0110 00000000 ff_wu_duration_2 rw 37 011 0111 00000000 reserved (do not modify) rw 38-3f reserved
LIS302DL register description 19/29 7 register description the device contains a set of registers which are used to control its behavior and to retrieve acceleration data. the registers address, made of 7 bits, is used to identify them and to write the data through serial interface. 7.1 who_am_i (0fh) device identification register. this register contains the device identifier that for LIS302DL is set to 3bh. 7.2 ctrl_reg1 (20h) dr bit allows to select the data rate at which acceleration samples are produced. the default value is 0 which corresponds to a data-r ate of 100hz. by changing the content of dr to ?1? the selected data-rate will be set equal to 400hz. pd bit allows to turn on the turn the device out of power-down mode. the device is in power- down mode when pd= ?0? (default value after boot). the device is in normal mode when pd is set to 1. stp, stm bit is used to activate the self test function. when the bit is set to one, an output change will occur to the device ou tputs (refer to table 2 and 3 for specification) thus allowing to check the functionality of the whole measurement chain. zen bit enables the generation of dataready signal for z-axis measurement channel when set to 1. the default value is 1. 00111011 dr pd fs stp stm zen yen xen dr data rate selection. default value: 0 (0: 100 hz output data rate; 1: 400 hz output data rate) pd power down control. default value: 0 (0: power down mode; 1: active mode) fs full scale selection. default value: 0 (refer to table 2 for ty pical full scale value) stp, stm self test enable. default value: 0 (0: normal mode; 1: self test p, m enabled) zen z axis enable. default value: 1 (0: z axis disabled; 1: z axis enabled) yen y axis enable. default value: 1 (0: y axis disabled; 1: y axis enabled) xen x axis enable. default value: 1 (0: x axis disabled; 1: x axis enabled)
register description LIS302DL 20/29 yen bit enables the generation of dataready signal for y-axis measurement channel when set to 1. the default value is 1. xen bit enables the generation of dataready signal for x-axis measurement channel when set to 1. the default value is 1. 7.3 ctrl_reg2 (21h) sim bit selects the spi serial interface mode. when sim is ?0? (default value) the 4-wire interface mode is selected. the data coming from the device are sent to sdo pad. in 3-wire interface mode output data are sent to sda_sdi pad. boot bit is used to refresh the content of internal registers stored in the flash memory block. at the device power up the content of the flash memory block is transferred to the internal registers related to trimming functions to permit a good behavior of the device itself. if for any reason the content of trimming registers was changed it is sufficient to use this bit to restore correct values. when boot bit is set to ?1? the content of internal flash is copied inside corresponding internal registers and it is used to calibrate the device. these values are factory trimmed and they are different for every accelerometer. they permit a good behavior of the device and normally they have not to be changed. at the end of the boot process the boot bit is set again to ?0?. fds bit enables (fds=1) or bypass (fds=0) the high pass filter in the signal chain of the sensor hp_coeff[2:1] . these bits are used to configure high-pass filter cut-off frequency ft. sim boot -- fds hp_ff_w u2 hp_ff_w u1 hp_coe_ff 2 hp_coe_ff 1 sim spi serial interface mode selection. default value: 0 (0: 4-wire interface; 1: 3-wire interface) boot reboot memory content. default value: 0 (0: normal mode; 1: reboot memory content) fds filtered data selection. default value: 0 (0: internal filter bypassed; 1: data from internal filter sent to output register) hp ff_wu2 high pass filter enabled for fr eefall/wakeup # 2. default value: 0 (0: filter bypassed; 1: filter enabled) hp ff_wu1 high pass filter enabled for free-fall/wake-up #1. default value: 0 (0: filter bypassed; 1: filter enabled) hp coeff2 hp coeff1 high pass filter cut-off frequency configuration. default value: 00 (see table below hpcoeff2,1 ft (hz) (dr=100 hz) ft (hz) (dr=400 hz) 00 2 8 01 1 4 10 0.5 2 11 0.25 1
LIS302DL register description 21/29 7.4 ctrl_reg3 [interrupt ctrl register] (22h) 7.5 hp_filter_reset (23h) dummy register. reading at this address zeroes instantaneously the content of the internal high pass-filter. read data is not significant. ihl pp_od i2cfg2 i2cfg1 i2cfg0 i1cfg2 i1cfg1 i1cfg0 ihl interrupt active high, low. default value 0. (0: active high; 1: active low) pp_od push-pull/open drain selection on interrupt pad. default value 0. (0: push-pull; 1: open drain) i2cfg2 i2cfg1 i2cfg0 data signal on int2 pad control bits. default value 000. (see table below) i1cfg2 i1cfg1 i1cfg0 data signal on int1 pad control bits. default value 000. (see table below) i1(2)_cfg2 i1(2)_cfg1 i1 (2)_cfg0 int1(2) pad 0 0 0 gnd 001 ff_wu_1 010 ff_wu_2 0 1 1 ff_wu_1 or ff_wu_2 1 0 0 dataready 111 not used
register description LIS302DL 22/29 7.6 status_reg (27h) 7.7 out_x (29h) x axis output data. 7.8 out_y (2bh) y axis output data. 7.9 out_z (2dh) z axis output data. zxyor zor yor xor zyxda zda yda xda zyxor x, y and z axis data overrun. default value: 0 (0: no overrun has occurred; 1: new data has over written the previous one before it was read) zor z axis data overrun. default value: 0 (0: no overrun has occurred; 1: a new data for the z-axis has overwritten the previous one) yor y axis data overrun. default value: 0 (0: no overrun has occurred; 1: a new data for the y-axis has overwritten the previous one) xor x axis data overrun. default value: 0 (0: no overrun has occurred; 1: a new data for the x-axis has overwritten the previous one) zyxda x, y and z axis new data available. default value: 0 (0: a new set of data is not yet available; 1: a new set of data is available) zda z axis new data available. default value: 0 (0: a new data for the z-axis is not yet available; 1: a new data for the z-axis is available) yda y axis new data available. default value: 0 (0: a new data for the y-axis is not yet available; 1: a new data for the y-axis is available) xda x axis new data available. default value: 0 (0: a new data for the x-axis is not yet available; 1: a new data for the x-axis is available) xd7 xd6 xd5 xd4 xd3 xd2 xd1 xd0 yd7 yd6 yd5 yd4 yd3 yd2 yd1 yd0 zd7 zd6 zd5 zd4 zd3 zd2 zd1 zd0
LIS302DL register description 23/29 7.10 ff_wu_cfg_1 (30h) aoi lir zhie zlie yhie ylie xhie xlie aoi and/or combination of interrupt events. default value: 0 (0: or combination of interrupt events; 1: and combination of interrupt events) lir latch interrupt request into ff_wu_src reg with the ff_wu_src reg cleared by reading ff_wu_src_1 reg. default value: 0 (0: interrupt request not latched ; 1: interrupt request latched) zhie enable interrupt generation on z high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) zlie enable interrupt generation on z low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold) yhie enable interrupt generation on y high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) ylie enable interrupt generation on y low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold) xhie enable interrupt generation on x high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) xlie enable interrupt generation on x low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold)
register description LIS302DL 24/29 7.11 ff_wu_src_1 (31h) free-fall and wake-up source register. read only register. reading at this address clears ff_wu_src_1 register and the ff, wu 1 interrupt and allows the refreshment of data in the ff_wu_src_1 register if the latched option was chosen. 7.12 ff_wu_ths_1 (32h) most significant bit (dcrm) is used to select the resetting mode of the duration counter. if dcrm=0 counter is resetted when the interrupt is no more active else if dcrm=1 duration counter is decremented. x ia zhzlyhylxhxl ia interrupt active. default value: 0 (0: no interrupt has been generated; 1: one ore more interrupt has been generated) zh z high. default value: 0 (0: no interrupt, 1: zh event has occurred) zl z low. default value: 0 (0: no interrupt; 1: zl event has occurred) yh y high. default value: 0 (0: no interrupt, 1: yh event has occurred) yl y low. default value: 0 (0: no interrupt, 1: yl event has occurred) xh x high. default value: 0 (0: no interrupt, 1: xh event has occurred) xl x low. default value: 0 (0: no interrupt, 1: xl event has occurred) dcrm ths6 ths5 ths4 ths3 ths2 ths1 ths0 dcrm resetting mode selection. default value: 0 (0: counter resetted; 1: counter decremented) ths6, ths0 free-fall / wake-up threshold: default value: 000 0000
LIS302DL register description 25/29 7.13 ff_wu_duration_1 (33h) duration register for free-fall/wake-up interrupt 1. duration step and maximum value depend on the odr chosen. step 2.5 msec, from 0 to 637.5 msec if odr=400hz, else step 10 msec, from 0 to 2.55 sec when odr=100h z. the counter used to implement duration function is blocked when lir=1 in configuration register and the interrupt event is verified 7.14 ff_wu_cfg_2 (34h) d7 d6 d5 d4 d3 d2 d1 d0 d7-d0 duration value. default value: 0000 0000 aoi lir zhie zlie yhie ylie xhie xlie aoi and/or combination of interrupt events. default value: 0 (0: or combination of interrupt events; 1: and combination of interrupt events) lir latch interrupt request into ff_wu_s rc reg with the ff_wu_src reg cleared by reading ff_wu_src_2 reg. default value: 0 (0: interrupt request not latched ; 1: interrupt request latched) zhie enable interrupt generation on z high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) zlie enable interrupt generation on z low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold) yhie enable interrupt generation on y high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) ylie enable interrupt generation on y low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold) xhie enable interrupt generation on x high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) xlie enable interrupt generation on x low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold)
register description LIS302DL 26/29 7.15 ff_wu_src_2 (35h) free-fall and wake-up source register. read only register. reading at this address clears ff_wu_src_2 register and the ff, wu 2 interrupt and allows the refreshment of data in the ff_wu_src_2 register if the latched option was chosen. 7.16 ff_wu_ths_2 (36h) most significant bit (dcrm) is used to select the resetting mode of the duration counter. if dcrm=0 counter is resetted when the interrupt is no more active else if dcrm=1 duration counter is decremented. 7.17 ff_wu_duration_2 (37h) duration register for free-fall/wake-up interrupt 2. duration step and maximum value depend on the odr chosen. step 2.5 msec, from 0 to 637.5 msec if odr=400hz, else step 10 msec, from 0 to 2.55 sec when odr=100h z. the counter used to implement duration function is blocked when lir=1 in configuration register and the interrupt event is verified. x ia zhzlyhylxhxl ia interrupt active. default value: 0 (0: no interrupt has been generated; 1: one or more interrupt event has been generated) zh z high. default value: 0 (0: no interrupt; 1: zh event has occurred) zl z low. default value: 0 (0: no interrupt; 1: zl event has occurred) yh y high. default value: 0 (0: no interrupt; 1: yh event has occurred) yl y low. default value: 0 (0: no interrupt; 1: yl event has occurred) xh x high. default value: 0 (0: no interrupt; 1: xh event has occurred) xl x low. default value: 0 (0: no interrupt; 1: xl event has occurred) dcrm ths6 ths5 ths4 ths3 ths2 ths1 ths0 dcrm resetting mode selection. default value: 0 (0: counter resetted; 1: counter decremented) ths6, ths0 free-fall / wake-up threshold. default value: 000 0000 d7 d6 d5 d4 d3 d2 d1 d0 d7-d0 duration value. default value: 0000 0000
LIS302DL package information 27/29 8 package information in order to meet environmental requirements, st offers these devices in ecopack? packages. these packages have a lead-free second level interconnect. the category of second level interconnect is marked on the package and on the inner box label, in compliance with jedec standard jesd97. the maximum ratings related to soldering conditions are also marked on the inner box label. ecopack is an st trademark. ecopack specifications are available at: www.st.com. figure 10. lga 14: mechanical data & package dimensions outline and mechanical data dim. mm inch min. typ. max. min. typ. max. a1 0.920 1.000 0.0362 0.0394 a2 0.700 0.0275 a3 0.180 0.220 0.260 0.0071 0.0087 0.0102 d1 2.850 3.000 3.150 0.1122 0.1181 0.1240 e1 4.850 5.000 5.150 0.1909 0.1968 0.2027 e 0.800 0.0315 d 0.300 0.0118 l1 4.000 0.1575 n 1.360 0.0535 n1 1.200 0.0472 p1 0.965 0.975 0.985 0.0380 0.0384 0.0386 p2 0.640 0.650 0.660 0.0252 0.0256 0.0260 t1 0.750 0.800 0.850 0.0295 0.0315 0.0335 t2 0.450 0.500 0.550 0.0177 0.0197 0.0217 r 1.200 1.600 0.0472 0.0630 h 0.150 0.0059 k 0.050 0.0020 i 0.100 0.0039 s 0.100 0.0039 lga14 (3x5x0.92mm) pitch 0.8mm l and g rid a rray package 7773587 c
revision history LIS302DL 28/29 9 revision history table 8. document revision history date revision changes 03-oct-2006 1 initial release.
LIS302DL 29/29 please read carefully: information in this document is provided solely in connection with st products. stmicroelectronics nv and its subsidiaries (?st ?) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described he rein at any time, without notice. all st products are sold pursuant to st?s terms and conditions of sale. purchasers are solely responsible for the choice, selection and use of the st products and services described herein, and st as sumes no liability whatsoever relating to the choice, selection or use of the st products and services described herein. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. i f any part of this document refers to any third party products or services it shall not be deemed a license grant by st for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoev er of such third party products or services or any intellectual property contained therein. unless otherwise set forth in st?s terms and conditions of sale st disclaims any express or implied warranty with respect to the use and/or sale of st products including without limitation implied warranties of merchantability, fitness for a parti cular purpose (and their equivalents under the laws of any jurisdiction), or infringement of any patent, copyright or other intellectual property right. unless expressly approved in writing by an authorized st representative, st products are not recommended, authorized or warranted for use in milita ry, air craft, space, life saving, or life sustaining applications, nor in products or systems where failure or malfunction may result in personal injury, death, or severe property or environmental damage. st products which are not specified as "automotive grade" may only be used in automotive applications at user?s own risk. resale of st products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by st for the st product or service described herein and shall not create or extend in any manner whatsoev er, any liability of st. st and the st logo are trademarks or registered trademarks of st in various countries. information in this document supersedes and replaces all information previously supplied. the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners. ? 2006 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com


▲Up To Search▲   

 
Price & Availability of LIS302DL

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X